Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: ".js" files cause Web Syntax Error
~Justin Minluternivu 21.Oct.03 06:08 PM a Web browser
Domino Designer 6.0.2 CF2 Windows 2000


Standard Web Error Number Two. There is a difference between the URL for a Design Element (Page, Form, Frameset, View) and a data document. All Design Notes are "peers" in the database. The URL for a Form looks like this:

http://server/path/database.nsf/FormName

The URL for your .js file looks like this:

http://server/path/database.nsf/filename.js

When the .js file is called using a relative URL by filename alone, it will be loaded properly since it appears to be in the same "directory". Now, looking at a document:

http://server/path/database.nsf/ViewName/DocumentUNID

The .js file now appears to be in a higher-level "directory" than the document.

Go to http://www.codestore.net and search for an article entitled "What to base your links on". It'll give you a way to get rid of the problem.




".js" files cause Web Syntax Error (~Fred Xanjumima... 21.Oct.03)
. . RE: ".js" files cause Web Syntax Er... (~Justin Minlute... 21.Oct.03)
. . . . RE: ".js" files cause Web Syntax Er... (~Fred Xanjumima... 21.Oct.03)
. . . . . . RE: ".js" files cause Web Syntax Er... (~Justin Minlute... 21.Oct.03)
. . . . . . . . Some results & questions for ".js" ... (~Fred Xanjumima... 22.Oct.03)
. . . . . . . . . . Revisit: Some results & questions f... (~Fred Xanjumima... 4.Nov.03)
. . . . . . . . . . . . RE: Revisit: Some results & questio... (~Justin Minlute... 4.Nov.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS